/*
 * KKHttpUtils.h
 *
 *  Created on: 2013-8-28
 *      Author: wh
 */

#ifndef KKHTTPUTILS_H_
#define KKHTTPUTILS_H_

#include "kaka_common.h"
#include "KKModelParseUtils.h"
#include "KKGetMethod.h"
#include "KKPostMethod.h"

class KKHttpUtils: public cocos2d::CCObject {
private:

protected:
	KKHttpUtils();

public:
	virtual ~KKHttpUtils();

	virtual bool init();

	KKGetMethod* getText(const char* url, const char* tag);

	KKPostMethod* post(const char* url, const char* tag);

	CREATE_FUNC( KKHttpUtils);
};

#endif /* KKHTTPUTILS_H_ */
